﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCEditTaiKhoan.ascx.cs"
    Inherits="WebApplication.Admins.Controls.UCEditTaiKhoan" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<script language="javascript" type="text/javascript">
    function btnReset_onclick() {
        
    }
</script>
<div class="t_news">
    <div class="t_titles">
        <asp:Label ID="lblId" Visible="false" runat="server" />
        <asp:Label ID="lblTitle" runat="server" /></div>
    <table class="tables">
        <tr>
            <td class="lables">
                <asp:Label ID="Label1" Text="Được Quyền :" runat="server" />
            </td>
            <td>
                <asp:DropDownList runat="server" ID="dllphanquen" AppendDataBoundItems="true">
                    <asp:ListItem Value="0">---All Phân Quền----</asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator ErrorMessage="Chưa Chọn Phân Quyền" ControlToValidate="dllphanquen"
                    ID="RequiredFieldValidator1" SetFocusOnError="true" Display="Static" InitialValue="0"
                    runat="server" CssClass="status">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label2" Text="Tên Đăng Nhập :" runat="server" />
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtTenTaiKhoan" CssClass="textboxs" />
                <asp:RequiredFieldValidator ErrorMessage="Chưa Nhập Tên Tài Khoản" ControlToValidate="txtTenTaiKhoan"
                    ID="RequiredFieldValidator2" SetFocusOnError="true" Display="Static" runat="server"
                    CssClass="status">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label8" Text="Mật Khẩu :" runat="server" />
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtMatKhau" CssClass="textboxs" TextMode="Password" />
                <asp:RequiredFieldValidator ErrorMessage="Chưa Nhập mật khẩu" ControlToValidate="txtMatKhau"
                    ID="RequiredFieldValidator4" SetFocusOnError="true" Display="Static" runat="server"
                    CssClass="status">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label7" Text="Họ Và Tên :" runat="server" />
            </td>
            <td>
                <asp:TextBox runat="server" ID="txthoten" CssClass="textboxs" />
                <asp:RequiredFieldValidator ErrorMessage="Chưa Nhập Họ Tên" ControlToValidate="txthoten"
                    ID="RequiredFieldValidator3" SetFocusOnError="true" Display="Static" runat="server"
                    CssClass="status">(*)</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label4" Text="Ngày Sinh :" runat="server" />
            </td>
            <td>
                <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                </asp:ToolkitScriptManager>
                <asp:TextBox runat="server" ID="txtNgaySinh" CssClass="textboxs" />
                <asp:CalendarExtender ID="txtNgayDang_CalendarExtender" runat="server" TargetControlID="txtNgaySinh"
                    Format="dd/MM/yyyy">
                </asp:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label9" Text="Giới Tính :" runat="server" />
            </td>
            <td>
                <asp:RadioButton ID="rdNam" Text="Nam" runat="server" GroupName="gt" Checked="true" />
                <asp:RadioButton ID="rdNu" Text="Nữ" runat="server" GroupName="gt" Checked="false" />
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label3" Text="Email :" runat="server" />
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtEmail" CssClass="textboxs" />
                <asp:RequiredFieldValidator ErrorMessage="Chưa Nhập Email" ControlToValidate="txtEmail"
                    ID="RequiredFieldValidator5" SetFocusOnError="true" Display="Static" runat="server"
                    CssClass="status">(*)</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                    ErrorMessage="Email không hợp lệ" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([.]\w+)*"
                    CssClass="status"> </asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="lables">
                <asp:Label ID="Label5" Text="Trạng Thái :" runat="server" />
            </td>
            <td>
                <asp:RadioButton Text="True" runat="server" ID="rdTrue" GroupName="tt" Checked="true" />
                <asp:RadioButton Text="False" runat="server" ID="rdFalse" GroupName="tt" Checked="false" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <asp:Button Text="Lưu" ID="btnLuu" runat="server" CssClass="buttons" OnClick="btnLuu_Click" />
                <input type="reset" value="Reset" class="buttons" runat="server" id="btnReset" onclick="return btnReset_onclick()" />
                <input type="button" onclick="location.href='TaiKhoan.aspx'" value="Cancel" class="buttons"
                    id="btnThoat" runat="server" />
            </td>
        </tr>
    </table>
    <asp:Label ID="lblStatus" runat="server" />
</div>
